@media screen and (min-width: 768px) and (max-width: 979px)
{
    h1
    {
        font-size: 1.9em;
    }


    .last_link_container
    {
        width: 32%;
    }

    .animated_menu_item
    {
        height: 81%;
    }

    .menu_image_container,
    .center_link_container .menu_image_container,
    .last_link_container .menu_image_container
    {
        height: 50%;
    }

    .teacher_block,
    .teacher_block_last
    {
        width: 50%;
    }

    .teacher_photo_container
    {
        width: 30%;
    }

    .teacher_info
    {
        margin-top: 0.5em;
    }

    .teacher_portfolio.vk.hidden
    {
        margin-top: 4%;
    }

    .first_term_info,
    .second_term_info
    {
        padding-left: 2%;
        font-size: 0.9em;
        width: 46%;
    }

    .margined
    {
        width: 86%;
    }

    .text
    {
        width: 90%;
    }

    p.contacts
    {
        font-size: 0.8em;
    }

    .vk_container
    {
        margin-left: 1%;
    }

    .vk_info_text
    {
        width: 55%;
    }

    .form
    {
        width: 31em;
    }

    .button_row
    {
        margin-left: 11.3em;
    }

    .teacher_photo_container
    {
        width: 25%;
    }


    .map_container
    {
        bottom: -25%;
        position: absolute;
        right: -100%;
        width: 82%;
    }

    .arrow_to_map_container
    {
        bottom: 47%;
        position: absolute;
        right: -12%;
        width: 28%;
    }

    .image_wrapper
    {
        width: 486px;
    }

    .display_in_max_width_480
    {
        display: none;
    }
}/*/mediaquery*/